"use strict";
cc._RF.push(module, '58470Q+/xhLFZTZh2B22tRW', 'MyLayoutManagerJS');
// src/MyLayoutManagerJS.js

"use strict";

var n = module.exports = {};
var t = module;

var i = require('define'),
    o = cc.Class({
  "extends": cc.Component,
  properties: {
    m_VisibleRect: cc.Rect,
    m_GridironSize: cc.Size,
    m_GridSize: cc.Size,
    m_AdMobHeight: 0,
    m_GridironHPadding: 0
  },
  start: function start() {},
  statics: {
    _instance: null,
    getInstance: function getInstance() {
      return null === o._instance && (this._instance = new o()), o._instance;
    }
  },
  ctor: function ctor() {
    var e = cc.view.getVisibleSize(),
        t = cc.view.getVisibleOrigin();
    cc.log("--------width-------\x3e", e.width), this.m_AdMobHeight = 0, this.m_GridironHPadding = 8, cc.log("---------m_GridironHPadding------\x3e", this.m_GridironHPadding), this.m_VisibleRect = new cc.Rect(t.x, t.y, e.width, e.height), this.m_GridironSize = new cc.Size(i.GRIDIRON_WIDTH, i.GRIDIRON_WIDTH);
  },
  getVisibleRect: function getVisibleRect() {
    return this.m_VisibleRect;
  },
  getGridironSize: function getGridironSize() {
    return this.m_GridironSize;
  },
  getGridSize: function getGridSize() {
    return this.m_GridSize;
  },
  setGridSize: function setGridSize(e) {
    this.m_GridSize = e;
  },
  getAdMobHeight: function getAdMobHeight() {
    return this.m_AdMobHeight;
  },
  getHorizontalGridironPadding: function getHorizontalGridironPadding() {
    return this.m_GridironHPadding;
  }
});

t.exports = o;

cc._RF.pop();